<template>
  <div style="padding:30px;">
    <keep-alive :include="cachedViews">
    	<router-view :key="key" />
    </keep-alive>
  </div>
</template>
<script>

export default {
  name: 'test1',
  computed: {
    key() {
      return this.$route.fullPath
    },
    cachedViews() {
      return this.$store.state.tagsView.cachedViews
    },
  },
  data() {
    return {
    }
  },
  created() {
  }
}
</script>